Database Handicapping Software- JCapper

JCapper Message Board

          JCapper 101
                      -- Calc Races / Build Routine

Home Register
Log In
By Calc Races / Build Routine
SILVER01HDW
7/31/2016
3:38:16 PM
I am a little confused as to which numbers are created at what times. If I am reading the forums correctly the playlist file has most everything while the Starter History Table only includes a few things (maybe some are the same as in the playlist file).

Also, some values are calculated which I assume means I need to run the Calc races routine to get those and that they go into the playlist file?

If I run a Build routine to append everyday is that the same as running Calc races? And do those values get stored somewhere or only held in memory until I print reports?

Reply
jeff
8/7/2016
3:48:56 PM

--quote:
"I am a little confused as to which numbers are created at what times."
--end quote


--my reply:

Calc Races button
The sole purpose for running a Calc Races is to generate same day race reports for data files currently loaded into the program via the DFM Card Loader.

When you click the Calc Races button - the interface creates the forbill.txt and forjeff.txt files - as well as the report1.html file.

This enables you to see the HTML Report in the HTML Report Viewer - as well as see your UDMs in the Text report using the same report viewer.

If you are operating in sql mode when you click the Calc Races button - the interface will populate the StartersToday table with JCapper numbers.

This enables you to see JCapper numbers and your UDMs embedded in past performances generated after running a sql Calc Races.

This also enables you to see a list of your UDMs sorted in military post time order on the SQL UDM Plays Report.




Build Database button
The purpose for running a Build Database routine is to:

1. Populate the PL_Profile.txt file on the folder you are currently pointing at.

2. Populate the StarterHistory table in the c:\JCapper\Exe\JCapper2.mdb file with JCapper data if you are operating in sql mode.

When you run a Build Database routine:

Card files loaded into the program in the DFM Card Loader are completely irrelevant.

In a Build Database routine - the interface looks at the folder you are pointing at - and all race cards on the pointed to folder that have both a data file and a results file make it into your database.

Running a Build Database routine enables you to use the JCapper Data Window afterward to query your databases - and start analyzing the data itself.

If you are operating the program in sql mode - running a Build Database routine also enables you to use the JCX File Exports Module afterward to export JCapper data - or more specifically data from the StarterHistory table in the c:\JCapper\Exe\JCapper2.mdb file - out onto your hard drive in the form of a .csv file.

This in turn gives you the ability to import JCapper data into your own outside of JCapper data projects.



-jp

.



~Edited by: jeff  on:  8/6/2016  at:  1:05:11 PM~

~Edited by: jeff  on:  8/7/2016  at:  3:48:56 PM~

Reply
jeff
2/15/2018
9:24:53 AM
--from the email inbox:


--quote:
"Hi Jeff!

I hope you can help me with something..

I'm working to build a database of just 2 racecourses: Tampa Bay and Santa Anita. I just downloaded the Jan-Feb HDW files for TAM and when I'm at the card loader, and try to load the files, this message appears:



And does the same for 24 of my 25 files. It just keeps on Folder 1 the first file. Then, when I finish closing all the error messages, this message appears:

But then I go to the PPs and as you can see, just one file was loaded.



I cleared all the scratches and it keeps happening. My questions are: Do I have to load day by day the cards? Is there a place where I can see all the cards loaded in each folder? Once that I load the card for day X, do I have to loaded again when I close the program and reopen it? I don't know what am I doing wrong, and I'm a bit confused.

Thanks in advance"
--end quote



--my reply:

Your questions (above) appear to fall into two separate areas:

1. Loading Files into the program in order to run a Calc Races and generate same day race reports and PPs.

2. Building Databases


With that said, I'll try to address each of those areas separately --


1. Loading Files into the program in order to run a Calc Races and generate same day race reports and PPs:

It appears that you are trying to use either the DFM Card Loader or the original Card Loader to load every .JCP file for TAM into the program.

There is no reason to ever want to do this!

In fact the DFM Card Loader (and the original Card Loader) are programmed not to allow you to load more than one data file into the program for the same track code. The "TAM race card already loaded" message that you got is my way of telling you that trying to load multiple card files for the same track code into the program is something you never want to do!


The info model -- the purpose of the DFM Card Loader and the original Card Loader) is:

To enable you to load .JCP files for a single day into the program -- so that you can run a Calc Races for that single day -- and generate single day race reports and PPs for that single day -- so that you can play the races for that single day!


The next morning you would begin the cycle anew:

• You would download and process new race files for today -- bring up the DFM Card Loader -- use it to delete the previous day's data files from the program -- and load today's data files into the program.

• Then you would use Scratch BOT to get scratches and changes for today.

• Then you would use the Main Module to run a Calc Races for today's races.

• Then you would use the Report Viewer to look at an HTML Report for today's races -- and use the PPs Generator to look at PPs for today.

• And from there -- you might use the info on the reports to make a few informed decisions about today's races!







2. Building Databases:

--You asked:
Q. Do I have to load day by day the cards?

A. No. You do not (ever) load files into the program using the DFM Card Loader or the original Card Loader for purposes of running a Build Database Routine.

The only reason to load files into the program using the DFM Card Loader would be for purposes of running a Calc Races (see above.)


To run Build Database routines, I suggest reading the Building JCapper Databases Help Doc to get the relevant background info -- and from there, make your best effort -- working hands on with the program -- to follow the instructions in the help doc itself.

Specifically --

Cut and paste from the Building JCapper Databases Help Doc:
http://www.jcapper.com/helpDocs/JCapper_BuildDatabaseHowTo.htm

To create a JCapper Database:

1. From the Main Module, click the Build Database button. This will launch the Database Builder.

On the Database Builder Main Screen:

1. Read the On Screen Instructions. They're there as a simple reminder so that you don't have to look here.

2. Select the appropriate Data File Type from the file types drop down. If are running JCapper under an HDW User License select HDW JCapper Data file (*.jcp) as your file type from the drop down. If you are using Brisnet files, select either Bris $1.00 DRF Single Format Data File (*.drf) or Bris Multicaps Data File (*.mcp) as your file type. Your file type selection will auto persist – making your selection the default until you change it. Note: Your file type selection must also match the Data Vendor Selection from the User System Definitions Screen. See the screenshot gallery below.

3. Use the Folder Icon to point to a target folder. This step is necessary only if your data and results files are sitting on a folder other than your default data folder. Hint: As a Best Practice, get in the habit of using the Data Folder Manager to set your Default Data Folder before launching the Database Builder. That way the Database Builder will auto point at your Default Data Folder every time you launch it.

4. Select the appropriate Build Mode from the Build Modes drop down. Hint: See the section on Build Modes below for an explanation about each build mode.

5. Click the Build Database button. This will cause the Database Builder to run the Build Database Routine. When the routine has been completed, you will be given a chance to view an exception report where you can see a listing of any missing XRD results files.

That's it. Those are the bullet points you need to know before building JCapper Databases… the high level look at the landscape… as viewed from 50,000 feet.

Hint: To see a demonstration of database builds in action, visit JCapper.com. Click the JCapper 101 Audio Video link and look for the Index section labeled Building Databases. Watching the videos there will help clear things up. They say a picture is worth 1000 words.


Of course you'll need to understand Build Modes first!

So read the section in the Help Doc beneath the headline that says "Database Build Modes (Added 4/27/2010)" to get the relevant background info.

And from there --

If you are operating JCapper in Playlist File Mode:

• Run your first build on any folder in Mode 1.

• Run (daily) builds after adding new files to a previously built folder in Mode2.


If you are operating JCapper in SQL Mode:

• Run your very first build on your very first folder in Mode 3.

• Run your first build on a newly added folder in Mode 4.

• Run (daily) builds after adding new files to a previously built folder in Mode 5.





-jp

.





~Edited by: jeff  on:  2/15/2018  at:  9:24:53 AM~

Reply
Reply

Copyright © 2018 JCapper Software              back to the JCapper Message Board              www.JCapper.com